package com.spark.lola.entity.sup;

import com.baomidou.mybatisplus.annotation.TableName;
import com.spark.lola.support.mybatis.entity.BaseModel;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * <p>
 * 留言
 * </p>
 *
 * @author dengyejun
 * @since 2020-04-24
 */
@TableName("sup_suggest_info")
@ApiModel(value="留言", description="")
public class SuggestInfo extends BaseModel implements Serializable {
    private static final long serialVersionUID=1L;
    public SuggestInfo(){}
    @ApiModelProperty(value = "编号")
    private String no;

    @ApiModelProperty(value = " 所属供货商")
    private Long supplierId;

    @ApiModelProperty(value = "供货商员工")
    private Long accountId;

        private Long serviceId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "回复")
    private String reply;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "回复时间")
    private Date replyTime;

    @ApiModelProperty(value = "状态")
    private String used;


    
    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }
    
    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }
    
    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }
    
    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }
    
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    
    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }
    
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    public Date getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }
    
    public String getUsed() {
        return used;
    }

    public void setUsed(String used) {
        this.used = used;
    }

    @Override
    public String toString() {
        return "SuggestInfo{" +
            "no=" + no +
            ", supplierId=" + supplierId +
            ", accountId=" + accountId +
            ", serviceId=" + serviceId +
            ", title=" + title +
            ", content=" + content +
            ", reply=" + reply +
            ", createTime=" + createTime +
            ", replyTime=" + replyTime +
            ", used=" + used +
        "}";
    }
}
